<?php
echo date("Y-m-d", strtotime('12/30/2012'));